using Finance.Api.Read.Dtos;
using Finance.Domain;
using Finance.ErrorCode;
using MediatR;

namespace Finance.Api.Read.Applications.Commands.台账管理
{
    public class ProductExpiryQueryCommand : IRequest<ApiResult<ApiPaging<List<ProductExpiryDto>>>>
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int index { get; set; }

        /// <summary>
        /// 每页大小
        /// </summary>
        public int size { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductName { get; set; }

        /// <summary>
        /// 产品类型
        /// </summary>
        public string? ProductType { get; set; }

        /// <summary>
        /// 是否到期状态 1-已到期 2-即将到期 3-正常
        /// </summary>
        public int? TimeType { get; set; }

        /// <summary>
        /// 仓库名
        /// </summary>
        public string? Location { get; set; }

      
        /// <summary>
        /// 批次号
        /// </summary>
        public string? BatchNum { get; set; }
    }
} 